package com.ziyun.erp.common.e.order;

import com.ziyun.erp.common.e.BaseEnum;
/**
 * @author jiangli
 * @date 2018-10-19 9:32
 * 支付方式
 */
public enum PaymentEnum implements BaseEnum {
    支付宝(1,"支付宝","支付宝"),
    预存款支付(2,"预存款支付","预存款支付"),
    银联(3,"银联","银联"),
    微信(4,"微信","微信"),
    现金(5,"现金","现金"),
    现金支付(6,"现金支付","现金支付"),
    扫码支付(7,"扫码支付","扫码支付"),
    月结(8,"月结","月结"),
    信用支付(9,"信用支付","信用支付"),
    offline(10,"offline","offline"),
    中金快捷支付(11,"中金快捷支付","中金快捷支付"),
    中金支付(12,"中金支付","中金支付"),
    unknown(13,"unknown","unknown"),
    转账付款(14,"转账付款","转账付款"),
    联动APP支付(15,"联动APP支付","联动APP支付"),
    联动支付微信公众号(16,"联动支付(微信公众号)","联动支付(微信公众号)"),
    联动支付微信(17,"联动支付(微信)","联动支付(微信)"),
    联动支付支付宝(18,"联动支付(支付宝)","联动支付(支付宝)"),
    联动支付银行卡(19,"联动支付(银行卡)","联动支付(银行卡)"),
    联动H5银联支付(20,"联动(H5银联支付)","联动(H5银联支付)"),
    联动H5支付(21,"联动(H5支付)","联动(H5支付)"),
    联动H5微信支付(22,"联动(H5微信支付)","联动(H5微信支付)"),
    银联支付pc(23,"银联支付(pc)","银联支付(pc)"),
    微信支付(24,"微信支付","微信支付"),
    联动支付H5支付宝(25,"联动支付(H5支付宝)","联动支付(H5支付宝)"),
    联动支付H5微信(26,"联动支付(H5微信)","联动支付(H5微信)"),
   ;


    private Integer id;
    private String code;
    private String describe;

    PaymentEnum(Integer id, String code, String describe) {
        this.id=id;
        this.code = code;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return code;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
